import request from '@/utils/request'

/**
 * 账单池-列表
 * @param {*} data
 *
 */
export function poolListApi(data) {
    return request({
        url: 'adminOrderPool/queryPageList',
        method: 'post',
        data: data,
        headers: {
            'Content-Type': 'application/json;charset=UTF-8'
        }
    })
}
/**
 * 查询详细
 * @param {*} data
 *
 */
export function poolDetail(id) {
    return request({
        url: 'adminOrderPool/queryById/' + id,
        method: 'get',
    })
}
/**
 * 账单池-更新数据
 * @param {*} data
 *
 */
export function poolUpdate(data) {
    return request({
        url: 'adminOrderPool/update',
        method: 'post',
        data: data,
        headers: {
            'Content-Type': 'application/json;charset=UTF-8'
        }
    })
}